package com.intelligent.system.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 标签关联DTO
 */
@Data
@ApiModel(description = "标签关联参数")
public class TagAssociateDTO {
    /**
     * 标签ID列表
     */
    @NotEmpty(message = "标签ID列表不能为空")
    @ApiModelProperty(value = "标签ID列表", required = true, example = "[1, 2, 3]")
    private List<Long> tagIds;

    /**
     * 对象ID
     */
    @NotNull(message = "对象ID不能为空")
    @ApiModelProperty(value = "对象ID", required = true, example = "123")
    private Long objectId;

    /**
     * 对象类型
     */
    @NotNull(message = "对象类型不能为空")
    @ApiModelProperty(value = "对象类型", required = true, example = "1")
    private Integer objectType;
} 